article,aside,details,figcaption,figure,footer,header,hgroup,hr,menu,nav,section{display:block}a,hr{padding:0}abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0}ins,mark{background-color:#ff9;color:#000}body{line-height:1}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{margin:0;font-size:100%;vertical-align:baseline;background:0 0}ins{text-decoration:none}mark{font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}

html, body { 
width: 100%;
height: 100%;
}

@font-face {
    font-family: 'brushtip-C';
    src: url('Brushtip-C.woff2') format('woff2'),
        url('Brushtip-C.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#tausta {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('pergamentti2.jpg');
}

.boxi {
	width: 100%;
	height: 100%;
	display: flex;
	flex: 1;
	flex-direction: column;

}

.rivi1 {
	display: flex;
	flex: 1;
	margin: 5px;
}

.rivi2 {
	display: flex;
	flex: 1;
	margin: 5px;
}


.rivi3 {
	display: flex;
	flex: 1;
	margin: 5px;
}


.lokero1 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
}

.lokero2 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
	max-height: 100px;
	font-size: 1.5em;
	line-height: 0em;
	letter-spacing: 0.2em;
	color: black;
	font-family: 'brushtip-C';
    font-style: normal;
	text-align: center;
	align-content: flex-start;
	animation: kahden 3s ease 3s alternate infinite;
}

@keyframes kahden {
	100% {
		line-height: 1.8em;
	}
}

.lokero3 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
}


.lokero4 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
}

.lokero5 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
	margin-left: 80px;
	max-width: 100px;
	max-height: 800px;
	color: darkred;
	font-family: 'brushtip-C';
    font-style: normal;
    font-size: 3.8em;
	text-align: center;
	opacity: 0.0;
	animation: yosa 6s ease 1s alternate infinite; 
}

@keyframes yosa {
	100% {
		opacity: 1.0;
	}
}

.lokero6 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
}

.lokero7 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
	margin-left: 40px;
	color: black;
	font-family: 'brushtip-C';
    font-style: normal;
    font-size: 1.3em;
    letter-spacing: 0.2em;
    line-height: 1.3;
	text-align: left;
	border-style: solid;
	border-color: transparent;
	border-width: 0;
	animation: lännen 5s ease 4s alternate infinite;

}

@keyframes lännen {
	100% {
		border-width: 450px 0px 0px 200px;
	}
}

.lokero8 {
	display: flex;
	flex-direction: column;
	flex: 3;
	margin: 5px;
	margin-top: 150p;
	max-width: 650px;
	font-size: 0.5em;
	letter-spacing: 0.8em;
	color: black;
	font-family: 'brushtip-C';
    font-style: normal;
	text-align: right;
	line-height: 1.5em;
	animation: hetki ease 6s alternate infinite;
}

@keyframes hetki {
	100% {
		font-size: 2.3em;
	}
}

.lokero9 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
}

.lokero10 {
	display: flex;
	flex-direction: column;
	flex: 1;
	max-height: 100px;
	margin: 5px;
	align-content: center;
	font-size: 1.8em;
	line-height: 1.5em;
	letter-spacing: -3.5em;
	color: black;
	font-family: 'brushtip-C';
    font-style: normal;
	text-align: center;
	animation: yksin 9s ease 3s alternate infinite;
}

@keyframes yksin {
	100% {
		letter-spacing: 1em;
	}
}


.lokero11 {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
	min-width: 350px;
}

.lokero12 {
	background-color: darblue;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 5px;
	opacity: 0.0;
	animation: fic 5s linear infinite alternate;
}

@keyframes fic {
	100% {
		opacity: 0.5;
	}
}

.linkit {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vw;
	display: flex;
}

.linkki {
	flex: 1;
}

.linkki:nth-child(1) {
	cursor: w-resize;
}

.linkki:nth-child(2) {
	cursor: e-resize;
}
























